Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1",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.001459/0.001459, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008598/0.0008599, allocations: 99.38 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4838/0.4838, allocations: 78.07 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.787e-05, allocations: 3.938 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 69.36 MB / 0.5414 GB, free: 6.715 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5643, allocations: 98.24 MB / 0.6373 GB, free: 1.121 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5646, allocations: 71.97 kB / 0.6374 GB, free: 1.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05897/0.6236, allocations: 21.95 MB / 0.6588 GB, free: 11.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6236, allocations: 0 / 0.6588 GB, free: 11.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.046e-05/0.6237, allocations: 16 kB / 0.6588 GB, free: 11.13 MB / 474.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.003065/0.6268, allocations: 1.262 MB / 0.6601 GB, free: 9.824 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.6268, allocations: 12.03 kB / 0.6601 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.629, allocations: 395.8 kB / 0.6605 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.63, allocations: 0.5943 MB / 0.661 GB, free: 8.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.6302, allocations: 134.3 kB / 0.6612 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.6303, allocations: 39.89 kB / 0.6612 GB, free: 8.605 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009783/0.6313, allocations: 0.5536 MB / 0.6617 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.6324, allocations: 0.6134 MB / 0.6623 GB, free: 7.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6324, allocations: 4.875 kB / 0.6624 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.6325, allocations: 0 / 0.6624 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.6325, allocations: 15.98 kB / 0.6624 GB, free: 7.402 MB / 474.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.004979/0.6375, allocations: 2.769 MB / 0.6651 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.6507, allocations: 3.673 MB / 0.6687 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.6516, allocations: 382.5 kB / 0.669 GB, free: 432 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.6517, allocations: 16.5 kB / 0.669 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6517, allocations: 35.12 kB / 0.6691 GB, free: 372 kB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.858e-06/0.6517, allocations: 0 / 0.6691 GB, free: 372 kB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005862/0.6576, allocations: 1.897 MB / 0.6709 GB, free: 14.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.6577, allocations: 86.42 kB / 0.671 GB, free: 14.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6587, allocations: 0.6135 MB / 0.6716 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.6589, allocations: 25.7 kB / 0.6716 GB, free: 13.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.6592, allocations: 380.6 kB / 0.672 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.6594, allocations: 232.5 kB / 0.6722 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.6595, allocations: 0 / 0.6722 GB, free: 13.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6596, allocations: 337.9 kB / 0.6725 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.6601, allocations: 321.6 kB / 0.6728 GB, free: 12.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.6607, allocations: 415.7 kB / 0.6732 GB, free: 12.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.6612, allocations: 365.2 kB / 0.6736 GB, free: 11.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6613, allocations: 0 / 0.6736 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006185/0.6674, allocations: 2.118 MB / 0.6757 GB, free: 9.516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.6677, allocations: 0.7022 MB / 0.6763 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6678, allocations: 3.984 kB / 0.6763 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/0.6718, allocations: 1.005 MB / 0.6773 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.6725, allocations: 111.8 kB / 0.6774 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008171/0.6806, allocations: 4.299 MB / 0.6816 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.6819, allocations: 111.3 kB / 0.6817 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.6819, allocations: 27.97 kB / 0.6818 GB, free: 3.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.682, allocations: 5.406 kB / 0.6818 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00592/0.6879, allocations: 1.992 MB / 0.6837 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6879, allocations: 4 kB / 0.6837 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/0.6918, allocations: 1.004 MB / 0.6847 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.6924, allocations: 103.8 kB / 0.6848 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/0.7005, allocations: 4.304 MB / 0.689 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.7017, allocations: 95.47 kB / 0.6891 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.7018, allocations: 23.98 kB / 0.6891 GB, free: 11.42 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0003506/0.7021, allocations: 119.4 kB / 0.6892 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005366/0.7075, allocations: 1.894 MB / 0.6911 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.7077, allocations: 90.88 kB / 0.6912 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/0.7131, allocations: 1.962 MB / 0.6931 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.7132, allocations: 12 kB / 0.6931 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.7132, allocations: 11.94 kB / 0.6931 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.7132, allocations: 0 / 0.6931 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/0.7207, allocations: 3.175 MB / 0.6962 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.7207, allocations: 3.953 kB / 0.6962 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.7213, allocations: 83.89 kB / 0.6963 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/0.7243, allocations: 0.8474 MB / 0.6971 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/0.7244, allocations: 8 kB / 0.6971 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006225/0.7306, allocations: 3.268 MB / 0.7003 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.7307, allocations: 3.984 kB / 0.7003 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/0.7372, allocations: 2.525 MB / 0.7028 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.7377, allocations: 179.9 kB / 0.703 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.738, allocations: 4 kB / 0.703 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.739, allocations: 70.25 kB / 0.703 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/0.7393, allocations: 128.3 kB / 0.7032 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.7394, allocations: 19.98 kB / 0.7032 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008037/0.7402, allocations: 488 kB / 0.7036 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7402, allocations: 0 / 0.7036 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001896/0.7421, allocations: 447.2 kB / 0.7041 GB, free: 11.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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.006831/0.749, allocations: 3.249 MB / 0.7072 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006979/0.756, allocations: 2.705 MB / 0.7099 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.756, allocations: 0 / 0.7099 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.7588, allocations: 1.089 MB / 0.7109 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.7598, allocations: 57.67 kB / 0.711 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.7641, allocations: 1.581 MB / 0.7125 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.7647, allocations: 0.9955 MB / 0.7135 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006848/0.7654, allocations: 118.9 kB / 0.7136 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.7658, allocations: 295.3 kB / 0.7139 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.7659, allocations: 0 / 0.7139 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0569/0.8228, allocations: 25.21 MB / 0.7385 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.823, allocations: 121.6 kB / 0.7386 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/3.614, allocations: 0 / 0.7386 GB, free: 8.277 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)