Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008282/0.0008282, allocations: 84.81 kB / 16.31 MB, free: 6.449 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.000844/0.0008442, allocations: 180.6 kB / 17.21 MB, free: 6.32 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.332/1.332, allocations: 205.4 MB / 223.4 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2962/0.2962, allocations: 38.06 MB / 309.7 MB, free: 8.848 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.0005425/0.0005428, allocations: 18.34 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.0989, allocations: 56.33 MB / 432.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004543/0.1035, allocations: 4.103 MB / 437 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1053, allocations: 1.092 MB / 438.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.1056, allocations: 23.81 kB / 438.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1058, allocations: 55.55 kB / 438.1 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.1064, allocations: 206.8 kB / 438.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1068, allocations: 111.8 kB / 438.4 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.1073, allocations: 462.5 kB / 438.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1075, allocations: 85.03 kB / 439 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1078, allocations: 159.3 kB / 439.1 MB, free: 408 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.1082, allocations: 199.3 kB / 439.3 MB, free: 208 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.1082, allocations: 12 kB / 439.3 MB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.1083, allocations: 12 kB / 439.3 MB, free: 184 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1085, allocations: 95.75 kB / 439.4 MB, free: 88 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.1086, allocations: 81.45 kB / 439.5 MB, free: 0 / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1089, allocations: 223.4 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1089, allocations: 0 / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1089, allocations: 4 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1089, allocations: 4 kB / 439.7 MB, free: 15.77 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001098/0.11, allocations: 0.5737 MB / 440.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.11, allocations: 8.031 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.1101, allocations: 31.62 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.1105, allocations: 313.9 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1106, allocations: 20.56 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1106, allocations: 16 kB / 440.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.1111, allocations: 316.5 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1111, allocations: 3.938 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1112, allocations: 15.95 kB / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1112, allocations: 4 kB / 441 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.1116, allocations: 217.5 kB / 441.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1131, allocations: 1.348 MB / 442.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.1134, allocations: 145.2 kB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.1135, allocations: 57.75 kB / 442.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1135, allocations: 3.984 kB / 442.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1136, allocations: 34.56 kB / 442.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.725e-06/0.1136, allocations: 0 / 442.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007574/0.1144, allocations: 379.9 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1144, allocations: 77.11 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1147, allocations: 262.9 kB / 443.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1147, allocations: 25.7 kB / 443.6 MB, free: 11.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1148, allocations: 203.5 kB / 443.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1149, allocations: 43.45 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.1149, allocations: 3.938 kB / 443.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.115, allocations: 342.9 kB / 444.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.1151, allocations: 55.95 kB / 444.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1152, allocations: 148.8 kB / 444.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1154, allocations: 75.97 kB / 444.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1154, allocations: 0 / 444.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003525/0.1157, allocations: 248.9 kB / 444.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1158, allocations: 8 kB / 444.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1158, allocations: 4.438 kB / 444.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1158, allocations: 11.95 kB / 444.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.116, allocations: 47.91 kB / 444.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.116, allocations: 7.938 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1162, allocations: 11.98 kB / 444.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1162, allocations: 12 kB / 444.8 MB, free: 10.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.1163, allocations: 161.7 kB / 444.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.1164, allocations: 23.72 kB / 444.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.1167, allocations: 195.3 kB / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1167, allocations: 0 / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1168, allocations: 7.953 kB / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1168, allocations: 7.984 kB / 445.1 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.1174, allocations: 0.5383 MB / 445.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1174, allocations: 4 kB / 445.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1176, allocations: 35.91 kB / 445.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1176, allocations: 4 kB / 445.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1176, allocations: 3.953 kB / 445.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1176, allocations: 8.031 kB / 445.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1176, allocations: 0 / 445.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.1179, allocations: 296.9 kB / 446 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.118, allocations: 100.8 kB / 446.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1181, allocations: 7.984 kB / 446.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1182, allocations: 7.953 kB / 446.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1182, allocations: 15.98 kB / 446.2 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1182, allocations: 7.938 kB / 446.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1184, allocations: 182 kB / 446.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1184, allocations: 0 / 446.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1187, allocations: 48 kB / 446.4 MB, free: 8.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.709e-05/0.1188, allocations: 95.25 kB / 446.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1191, allocations: 163.7 kB / 446.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1191, allocations: 0 / 446.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1192, allocations: 71.89 kB / 446.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1197, allocations: 57.69 kB / 446.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.1206, allocations: 0.6394 MB / 447.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.121, allocations: 0.7833 MB / 448.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.1212, allocations: 38.27 kB / 448.2 MB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.1212, allocations: 23.44 kB / 448.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1212, allocations: 0 / 448.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of Templates: time 0.005196/0.1264, allocations: 2.04 MB / 450.3 MB, free: 4.684 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) Environment - environmentSimulation: