Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 165.3 kB / 23.01 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9652/0.9652, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7594/0.7594, allocations: 154.8 MB / 414.7 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5205 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.75e-05, allocations: 4 kB / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003647/0.003674, allocations: 2.492 MB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.00523, allocations: 1.246 MB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.005326, allocations: 9.406 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.00575, allocations: 95.5 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.006017, allocations: 187.7 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.006282, allocations: 166.3 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.00656, allocations: 326.9 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.006849, allocations: 177 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.007082, allocations: 192.1 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.007338, allocations: 155 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.007368, allocations: 20 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.007573, allocations: 167.5 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.00767, allocations: 107.7 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.007743, allocations: 87.81 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.00806, allocations: 295.1 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.008063, allocations: 0 / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.11e-07/0.008063, allocations: 0 / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.008068, allocations: 0 / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005895/0.008657, allocations: 0.5712 MB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.008693, allocations: 12.91 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.009153, allocations: 132.5 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.009377, allocations: 201.7 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.009393, allocations: 16.88 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/0.00947, allocations: 29.45 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.009797, allocations: 303.2 kB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.009812, allocations: 5.25 kB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.009836, allocations: 16.11 kB / 0.5273 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.009898, allocations: 32.47 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.01009, allocations: 128.3 kB / 0.5275 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.01106, allocations: 1.19 MB / 0.5287 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.01129, allocations: 140.3 kB / 0.5288 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.01135, allocations: 53.52 kB / 0.5288 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.01143, allocations: 13.34 kB / 0.5289 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.01146, allocations: 41.38 kB / 0.5289 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.01146, allocations: 0 / 0.5289 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0006974/0.01216, allocations: 454.9 kB / 0.5293 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.01218, allocations: 55.41 kB / 0.5294 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.0126, allocations: 233.8 kB / 0.5296 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.01261, allocations: 33.7 kB / 0.5296 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.01269, allocations: 211.2 kB / 0.5298 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.01273, allocations: 71.41 kB / 0.5299 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.0128, allocations: 59.36 kB / 0.53 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01292, allocations: 0.5027 MB / 0.5305 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.01299, allocations: 43.97 kB / 0.5305 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.01309, allocations: 121.8 kB / 0.5306 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.01327, allocations: 182.7 kB / 0.5308 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01327, allocations: 0 / 0.5308 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003949/0.01367, allocations: 282 kB / 0.5311 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01368, allocations: 7.984 kB / 0.5311 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01369, allocations: 5.375 kB / 0.5311 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.01406, allocations: 100.9 kB / 0.5312 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.0142, allocations: 59.83 kB / 0.5312 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.01532, allocations: 1.916 MB / 0.5331 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.01542, allocations: 15.98 kB / 0.5331 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.01544, allocations: 15.98 kB / 0.5331 GB, free: 4.625 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * 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: 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.0001082/0.01555, allocations: 170.1 kB / 0.5333 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.01558, allocations: 23.84 kB / 0.5333 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.01583, allocations: 186 kB / 0.5335 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01583, allocations: 4 kB / 0.5335 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01584, allocations: 0.5312 kB / 0.5335 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01584, allocations: 0 / 0.5335 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.0163, allocations: 0.524 MB / 0.534 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01631, allocations: 192 / 0.534 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01647, allocations: 67.89 kB / 0.5341 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01647, allocations: 0 / 0.5341 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.01648, allocations: 8.594 kB / 0.5341 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01649, allocations: 0 / 0.5341 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01649, allocations: 0.5938 kB / 0.5341 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.01678, allocations: 387.2 kB / 0.5344 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.01683, allocations: 27.89 kB / 0.5345 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01685, allocations: 11.98 kB / 0.5345 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.01693, allocations: 13.2 kB / 0.5345 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.01696, allocations: 11.98 kB / 0.5345 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01697, allocations: 11.94 kB / 0.5345 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.01705, allocations: 171.3 kB / 0.5347 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01705, allocations: 0 / 0.5347 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002178/0.01727, allocations: 64.91 kB / 0.5347 GB, free: 2.891 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0001125/0.01738, allocations: 115 kB / 0.5348 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.01779, allocations: 372.9 kB / 0.5352 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0178, allocations: 0 / 0.5352 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.01787, allocations: 71.59 kB / 0.5353 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01811, allocations: 41.44 kB / 0.5353 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009087/0.01902, allocations: 0.5424 MB / 0.5358 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.01908, allocations: 104.3 kB / 0.5359 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.602e-05/0.01917, allocations: 41.81 kB / 0.536 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.01922, allocations: 24.5 kB / 0.536 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.01922, allocations: 0 / 0.536 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of Templates: time 0.004905/0.02412, allocations: 2.797 MB / 0.5387 GB, free: 14.89 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9241075697354972]