Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002134/0.002134, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 94.31 kB / 261.8 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2677/0.2677, allocations: 38 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.467e-05, allocations: 0 / 409.9 MB, free: 35.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 56.32 MB / 466.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5318/0.6403, allocations: 93.3 MB / 0.5464 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6406, allocations: 81.77 kB / 0.5465 GB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06428/0.7049, allocations: 17.82 MB / 0.5639 GB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.705, allocations: 0 / 0.5639 GB, free: 1.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.705, allocations: 8 kB / 0.5639 GB, free: 1.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000917/0.7059, allocations: 0.5503 MB / 0.5645 GB, free: 1.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.706, allocations: 12.03 kB / 0.5645 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.7078, allocations: 139 kB / 0.5646 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.7085, allocations: 299.6 kB / 0.5649 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.7085, allocations: 8 kB / 0.5649 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.7086, allocations: 12 kB / 0.5649 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00074/0.7094, allocations: 298.7 kB / 0.5652 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.7101, allocations: 392.4 kB / 0.5656 GB, free: 428 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.7102, allocations: 4 kB / 0.5656 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.7102, allocations: 0 / 0.5656 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.7105, allocations: 32.53 kB / 0.5656 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.7138, allocations: 1.662 MB / 0.5672 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.7144, allocations: 271.7 kB / 0.5675 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.7147, allocations: 132.5 kB / 0.5676 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.7148, allocations: 4.188 kB / 0.5676 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.7148, allocations: 38.5 kB / 0.5677 GB, free: 14.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/0.7148, allocations: 0 / 0.5677 GB, free: 14.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001655/0.7165, allocations: 0.4971 MB / 0.5681 GB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.7166, allocations: 85.09 kB / 0.5682 GB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.7169, allocations: 163.3 kB / 0.5684 GB, free: 13.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.7169, allocations: 25.7 kB / 0.5684 GB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.7171, allocations: 253.1 kB / 0.5686 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.7172, allocations: 80.5 kB / 0.5687 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.7173, allocations: 0 / 0.5687 GB, free: 13.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7174, allocations: 328.9 kB / 0.569 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.7177, allocations: 92.53 kB / 0.5691 GB, free: 13.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.718, allocations: 186.8 kB / 0.5693 GB, free: 12.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.7183, allocations: 130 kB / 0.5694 GB, free: 12.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7183, allocations: 0 / 0.5694 GB, free: 12.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00115/0.7195, allocations: 384.6 kB / 0.5698 GB, free: 12.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.7195, allocations: 8 kB / 0.5698 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7196, allocations: 3.984 kB / 0.5698 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.7202, allocations: 85.05 kB / 0.5699 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.7206, allocations: 51.91 kB / 0.5699 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.7235, allocations: 1.744 MB / 0.5716 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.7239, allocations: 19.88 kB / 0.5717 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.7239, allocations: 15.38 kB / 0.5717 GB, free: 10.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.7241, allocations: 113.8 kB / 0.5718 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001058/0.7251, allocations: 322.2 kB / 0.5721 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.7252, allocations: 25.97 kB / 0.5721 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.7263, allocations: 366.2 kB / 0.5725 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.7264, allocations: 4 kB / 0.5725 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.7264, allocations: 0 / 0.5725 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7264, allocations: 7.922 kB / 0.5725 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.7286, allocations: 0.8378 MB / 0.5733 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7286, allocations: 0 / 0.5733 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.7289, allocations: 39.97 kB / 0.5733 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.7294, allocations: 73.55 kB / 0.5734 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.7294, allocations: 0 / 0.5734 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.7319, allocations: 1.65 MB / 0.575 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7319, allocations: 0 / 0.575 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.7331, allocations: 475.7 kB / 0.5755 GB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.7332, allocations: 104.7 kB / 0.5756 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.7333, allocations: 7.984 kB / 0.5756 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.7336, allocations: 0 / 0.5756 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.188e-05/0.7336, allocations: 19.97 kB / 0.5756 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.7337, allocations: 7.375 kB / 0.5756 GB, free: 6.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.7339, allocations: 138.8 kB / 0.5757 GB, free: 6.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7339, allocations: 0 / 0.5757 GB, free: 6.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000799/0.7347, allocations: 84 kB / 0.5758 GB, free: 6.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.7363, allocations: 1.206 MB / 0.577 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.7374, allocations: 395 kB / 0.5774 GB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7374, allocations: 0 / 0.5774 GB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.7381, allocations: 268.8 kB / 0.5776 GB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.7385, allocations: 30.92 kB / 0.5777 GB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.7402, allocations: 0.5361 MB / 0.5782 GB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.7408, allocations: 0.8048 MB / 0.579 GB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.741, allocations: 95.7 kB / 0.5791 GB, free: 3.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.741, allocations: 0 / 0.5791 GB, free: 3.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.405, allocations: 5.635 MB / 0.5846 GB, free: 13.99 MB / 394.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)