Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 96.75 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4445/0.4445, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.275e-05, allocations: 4 kB / 491.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.317, allocations: 69.34 MB / 0.5481 GB, free: 20.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4352, allocations: 98.87 MB / 0.6447 GB, free: 1.637 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.4355, allocations: 83.95 kB / 0.6447 GB, free: 1.555 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06029/0.4958, allocations: 22.11 MB / 0.6663 GB, free: 11.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4958, allocations: 0 / 0.6663 GB, free: 11.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.251e-05/0.4959, allocations: 12 kB / 0.6663 GB, free: 11.24 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003381/0.4993, allocations: 1.264 MB / 0.6676 GB, free: 9.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4993, allocations: 15.97 kB / 0.6676 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003068/0.4997, allocations: 94.52 kB / 0.6677 GB, free: 9.812 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.5022, allocations: 390.4 kB / 0.6681 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5034, allocations: 0.6057 MB / 0.6686 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.5036, allocations: 150.7 kB / 0.6688 GB, free: 8.617 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.5038, allocations: 63.86 kB / 0.6689 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.5051, allocations: 0.6901 MB / 0.6695 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5051, allocations: 3.938 kB / 0.6695 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.5052, allocations: 20 kB / 0.6696 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5052, allocations: 16 kB / 0.6696 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5062, allocations: 0.5793 MB / 0.6701 GB, free: 7.23 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005463/0.5117, allocations: 2.87 MB / 0.6729 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.5254, allocations: 3.715 MB / 0.6766 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009589/0.5264, allocations: 398.5 kB / 0.6769 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.5266, allocations: 8.547 kB / 0.677 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.5266, allocations: 51.11 kB / 0.677 GB, free: 8 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.707e-06/0.5266, allocations: 0 / 0.677 GB, free: 8 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.279/0.8056, allocations: 1.925 MB / 0.6789 GB, free: 109.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.8057, allocations: 90.86 kB / 0.679 GB, free: 109.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.8069, allocations: 0.6668 MB / 0.6796 GB, free: 109.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.8071, allocations: 37.11 kB / 0.6797 GB, free: 109.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.8074, allocations: 384.9 kB / 0.68 GB, free: 109 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.8076, allocations: 230.5 kB / 0.6802 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.8077, allocations: 15.81 kB / 0.6803 GB, free: 108.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.649e-05/0.8077, allocations: 331 kB / 0.6806 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.8084, allocations: 338 kB / 0.6809 GB, free: 108.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.809, allocations: 431.3 kB / 0.6813 GB, free: 108.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.8097, allocations: 381.8 kB / 0.6817 GB, free: 108.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8098, allocations: 0.875 kB / 0.6817 GB, free: 108.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007136/0.8169, allocations: 2.18 MB / 0.6838 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.8171, allocations: 0.6205 MB / 0.6844 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8171, allocations: 2.094 kB / 0.6844 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/0.8216, allocations: 1.019 MB / 0.6854 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.8222, allocations: 106.5 kB / 0.6855 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.8301, allocations: 4.456 MB / 0.6899 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.8313, allocations: 120.2 kB / 0.69 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.8314, allocations: 32.95 kB / 0.69 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.8314, allocations: 7.531 kB / 0.69 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005759/0.8371, allocations: 2.075 MB / 0.692 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8372, allocations: 0 / 0.692 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/0.8409, allocations: 1.011 MB / 0.693 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.8415, allocations: 100.4 kB / 0.6931 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.8489, allocations: 4.453 MB / 0.6975 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.85, allocations: 105.6 kB / 0.6976 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.8501, allocations: 24.69 kB / 0.6976 GB, free: 102.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002304/0.8503, allocations: 142.5 kB / 0.6977 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.8505, allocations: 85.19 kB / 0.6978 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/0.8556, allocations: 2.027 MB / 0.6998 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.8557, allocations: 9.781 kB / 0.6998 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8557, allocations: 7.219 kB / 0.6998 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.8557, allocations: 3.422 kB / 0.6998 GB, free: 101.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/0.8623, allocations: 3.32 MB / 0.703 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.8623, allocations: 0 / 0.703 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.8628, allocations: 85.08 kB / 0.7031 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002637/0.8655, allocations: 0.8495 MB / 0.704 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.8656, allocations: 18.75 kB / 0.704 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.8707, allocations: 3.362 MB / 0.7073 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8707, allocations: 4.031 kB / 0.7073 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.8765, allocations: 2.587 MB / 0.7098 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.8768, allocations: 190.7 kB / 0.71 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.8769, allocations: 12 kB / 0.71 GB, free: 94.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.8777, allocations: 78.42 kB / 0.7101 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.878, allocations: 130.5 kB / 0.7102 GB, free: 94.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.878, allocations: 16 kB / 0.7102 GB, free: 94.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005674/0.8786, allocations: 0.5205 MB / 0.7107 GB, free: 94.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8786, allocations: 0 / 0.7107 GB, free: 94.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001147/0.8798, allocations: 497.2 kB / 0.7112 GB, free: 93.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006069/0.8859, allocations: 3.315 MB / 0.7144 GB, free: 90.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006267/0.8922, allocations: 2.811 MB / 0.7172 GB, free: 87.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8922, allocations: 0 / 0.7172 GB, free: 87.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.8947, allocations: 1.126 MB / 0.7183 GB, free: 86.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.8953, allocations: 66.86 kB / 0.7183 GB, free: 86.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.8984, allocations: 1.637 MB / 0.7199 GB, free: 85.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.8987, allocations: 0.9929 MB / 0.7209 GB, free: 84.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.8993, allocations: 119.2 kB / 0.721 GB, free: 84.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.8996, allocations: 293.1 kB / 0.7213 GB, free: 84.05 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.8996, allocations: 4.562 kB / 0.7213 GB, free: 84.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.9389, allocations: 27.44 MB / 0.7481 GB, free: 58.26 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.9391, allocations: 201.6 kB / 0.7483 GB, free: 58.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.652, allocations: 4 kB / 0.7483 GB, free: 58.02 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)