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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) 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.001221/0.001221, allocations: 112 kB / 17.06 MB, free: 5.992 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.001344/0.001344, allocations: 194.9 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2046/0.2046, allocations: 38.03 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 458.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4063, allocations: 58.05 MB / 0.5041 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00512/0.4115, allocations: 4.037 MB / 0.508 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4128, allocations: 0.9015 MB / 0.5089 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.4129, allocations: 10.88 kB / 0.5089 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.4132, allocations: 51.34 kB / 0.509 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.4136, allocations: 183.4 kB / 0.5092 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.4138, allocations: 92.02 kB / 0.5092 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.4143, allocations: 395.5 kB / 0.5096 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.4145, allocations: 119.2 kB / 0.5097 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.4148, allocations: 183.5 kB / 0.5099 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.4151, allocations: 212.3 kB / 0.5101 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.4152, allocations: 20.94 kB / 0.5101 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.759e-05/0.4152, allocations: 20.59 kB / 0.5102 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4154, allocations: 105.1 kB / 0.5103 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.4156, allocations: 152.7 kB / 0.5104 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.416, allocations: 313.8 kB / 0.5107 GB, free: 3.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.416, allocations: 3.938 kB / 0.5107 GB, free: 3.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.416, allocations: 3.938 kB / 0.5107 GB, free: 3.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.416, allocations: 1.344 kB / 0.5107 GB, free: 3.559 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.0009881/0.417, allocations: 0.63 MB / 0.5113 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.417, allocations: 12.98 kB / 0.5113 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.4171, allocations: 37.5 kB / 0.5114 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.4175, allocations: 342.1 kB / 0.5117 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4176, allocations: 22.75 kB / 0.5117 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.4176, allocations: 22.75 kB / 0.5117 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.4181, allocations: 318.2 kB / 0.512 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4181, allocations: 5 kB / 0.5121 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.4181, allocations: 10.41 kB / 0.5121 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4181, allocations: 7.453 kB / 0.5121 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.4185, allocations: 217.4 kB / 0.5123 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.4199, allocations: 1.341 MB / 0.5136 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.4202, allocations: 152.1 kB / 0.5137 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.4203, allocations: 59.53 kB / 0.5138 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4203, allocations: 2.031 kB / 0.5138 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.4204, allocations: 36.09 kB / 0.5138 GB, free: 1.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.4204, allocations: 1.156 kB / 0.5138 GB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000768/0.4211, allocations: 373.1 kB / 0.5142 GB, free: 1.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.4212, allocations: 82.45 kB / 0.5143 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.4214, allocations: 259.4 kB / 0.5145 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.4215, allocations: 26.36 kB / 0.5145 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.4216, allocations: 212 kB / 0.5147 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.4216, allocations: 45.5 kB / 0.5148 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.4217, allocations: 46.94 kB / 0.5148 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.4218, allocations: 340 kB / 0.5151 GB, free: 180 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4219, allocations: 58.77 kB / 0.5152 GB, free: 160 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.422, allocations: 146.5 kB / 0.5153 GB, free: 16 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.4224, allocations: 229.2 kB / 0.5156 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4224, allocations: 1.062 kB / 0.5156 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004295/0.4228, allocations: 255.1 kB / 0.5158 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4228, allocations: 6.766 kB / 0.5158 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4229, allocations: 3.688 kB / 0.5158 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4229, allocations: 5.438 kB / 0.5158 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4231, allocations: 51.45 kB / 0.5159 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.4231, allocations: 6.594 kB / 0.5159 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4232, allocations: 8.766 kB / 0.5159 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.4233, allocations: 14.42 kB / 0.5159 GB, free: 15.69 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.4235, allocations: 162 kB / 0.5161 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.4235, allocations: 27.16 kB / 0.5161 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.4239, allocations: 202.1 kB / 0.5163 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4239, allocations: 6.469 kB / 0.5163 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4239, allocations: 1.031 kB / 0.5163 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4239, allocations: 1.219 kB / 0.5163 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.4247, allocations: 0.5609 MB / 0.5168 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4247, allocations: 0 / 0.5168 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4248, allocations: 27.09 kB / 0.5169 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4248, allocations: 1.156 kB / 0.5169 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4248, allocations: 2.297 kB / 0.5169 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.4249, allocations: 11.17 kB / 0.5169 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4249, allocations: 5 kB / 0.5169 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.4253, allocations: 296.4 kB / 0.5172 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.4254, allocations: 104.5 kB / 0.5173 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.4255, allocations: 6.547 kB / 0.5173 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4256, allocations: 6.391 kB / 0.5173 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.4256, allocations: 9.203 kB / 0.5173 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.4257, allocations: 8.781 kB / 0.5173 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.4259, allocations: 187.8 kB / 0.5175 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4259, allocations: 0 / 0.5175 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.4262, allocations: 52.53 kB / 0.5175 GB, free: 14.56 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.4264, allocations: 98.56 kB / 0.5176 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.4267, allocations: 157.9 kB / 0.5178 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4268, allocations: 0.5312 kB / 0.5178 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.4269, allocations: 76.14 kB / 0.5178 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.4275, allocations: 53.39 kB / 0.5179 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4287, allocations: 0.5376 MB / 0.5184 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4291, allocations: 0.784 MB / 0.5192 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.4293, allocations: 37.89 kB / 0.5192 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.4295, allocations: 24.14 kB / 0.5192 GB, free: 13.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4295, allocations: 4 kB / 0.5192 GB, free: 13.32 MB / 398.1 MB Notification: Performance of Templates: time 0.006771/0.4363, allocations: 2.251 MB / 0.5214 GB, free: 13.12 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (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)