Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json 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/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1767/0.1767, allocations: 37.98 MB / 309.2 MB, free: 5.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 431.4 MB, free: 16.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09108, allocations: 55.24 MB / 486.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004944/0.09607, allocations: 3.956 MB / 490.6 MB, free: 5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.0985, allocations: 1.879 MB / 492.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.0987, allocations: 7.938 kB / 492.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009553/0.09968, allocations: 370.5 kB / 492.8 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.1005, allocations: 402.5 kB / 493.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1009, allocations: 139.6 kB / 493.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.1014, allocations: 494.6 kB / 493.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.1018, allocations: 210.8 kB / 494 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.1021, allocations: 211.1 kB / 494.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.1025, allocations: 231.2 kB / 494.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.1025, allocations: 24 kB / 494.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.1032, allocations: 446.9 kB / 494.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1033, allocations: 151.7 kB / 495.1 MB, free: 484 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.1035, allocations: 163.1 kB / 495.2 MB, free: 320 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.1042, allocations: 498.6 kB / 495.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1042, allocations: 0 / 495.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1042, allocations: 0 / 495.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1042, allocations: 3.938 kB / 495.7 MB, free: 15.82 MB / 382.1 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.0007934/0.105, allocations: 0.5848 MB / 496.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.105, allocations: 15.89 kB / 496.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.89e-05/0.1051, allocations: 62.72 kB / 496.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1063, allocations: 136.4 kB / 496.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1067, allocations: 300.8 kB / 496.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1067, allocations: 20.94 kB / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1068, allocations: 24.38 kB / 496.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.1074, allocations: 451.7 kB / 497.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1074, allocations: 3.984 kB / 497.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1074, allocations: 11.98 kB / 497.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.1075, allocations: 24.55 kB / 497.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.1081, allocations: 425.9 kB / 497.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.1102, allocations: 1.713 MB / 499.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.1105, allocations: 286.2 kB / 499.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1107, allocations: 133.7 kB / 499.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1108, allocations: 7.938 kB / 499.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1108, allocations: 42.86 kB / 499.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.895e-06/0.1108, allocations: 4 kB / 499.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001641/0.1124, allocations: 0.7825 MB / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1125, allocations: 81.11 kB / 0.489 GB, free: 10.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1127, allocations: 206.9 kB / 0.4892 GB, free: 10.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1127, allocations: 29.7 kB / 0.4893 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1128, allocations: 184 kB / 0.4894 GB, free: 9.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.1129, allocations: 78.84 kB / 0.4895 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.113, allocations: 66.02 kB / 0.4896 GB, free: 9.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1131, allocations: 334.8 kB / 0.4899 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1133, allocations: 104.5 kB / 0.49 GB, free: 9.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1135, allocations: 208.9 kB / 0.4902 GB, free: 9.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.1139, allocations: 349 kB / 0.4905 GB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1139, allocations: 0 / 0.4905 GB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007371/0.1147, allocations: 425.7 kB / 0.4909 GB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1147, allocations: 8 kB / 0.4909 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1147, allocations: 416 / 0.4909 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.1151, allocations: 92.86 kB / 0.491 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1153, allocations: 55.91 kB / 0.4911 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.1173, allocations: 2.005 MB / 0.493 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1175, allocations: 16.05 kB / 0.4931 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1175, allocations: 16 kB / 0.4931 GB, free: 6 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.1177, allocations: 173.6 kB / 0.4932 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.1177, allocations: 23.72 kB / 0.4933 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.1184, allocations: 380 kB / 0.4936 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1184, allocations: 8 kB / 0.4936 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1184, allocations: 0 / 0.4936 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1184, allocations: 4 kB / 0.4936 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1198, allocations: 0.9141 MB / 0.4945 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1198, allocations: 3.938 kB / 0.4945 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1199, allocations: 35.92 kB / 0.4946 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.1202, allocations: 76.97 kB / 0.4946 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1202, allocations: 4 kB / 0.4946 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.1219, allocations: 1.9 MB / 0.4965 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1219, allocations: 32 / 0.4965 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.1226, allocations: 475.1 kB / 0.497 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1227, allocations: 96.83 kB / 0.497 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.1227, allocations: 8 kB / 0.4971 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1228, allocations: 11.98 kB / 0.4971 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1229, allocations: 23.91 kB / 0.4971 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1229, allocations: 4 kB / 0.4971 GB, free: 1.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.123, allocations: 160.3 kB / 0.4972 GB, free: 1.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.123, allocations: 3.938 kB / 0.4972 GB, free: 1.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004721/0.1235, allocations: 84 kB / 0.4973 GB, free: 1.352 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008407/0.1244, allocations: 0.9926 MB / 0.4983 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000686/0.1251, allocations: 442.9 kB / 0.4987 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1251, allocations: 0 / 0.4987 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.1255, allocations: 278.6 kB / 0.499 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1259, allocations: 43.84 kB / 0.499 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.1296, allocations: 3.026 MB / 0.502 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.13, allocations: 0.7948 MB / 0.5028 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.1302, allocations: 54.05 kB / 0.5028 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1303, allocations: 87.39 kB / 0.5029 GB, free: 11.37 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1303, allocations: 0 / 0.5029 GB, free: 11.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.1559, allocations: 5.762 MB / 0.5085 GB, free: 5.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.351/9.507, allocations: 0 / 0.5085 GB, free: 5.559 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)