Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001261/0.001261, allocations: 81.86 kB / 19.87 MB, free: 4.625 MB / 18.57 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.0009416/0.0009416, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.8892/0.8892, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7367/0.7367, allocations: 154.9 MB / 415.1 MB, free: 256 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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.7656 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.715e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.002962/0.002979, allocations: 3.049 MB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.004778, allocations: 1.121 MB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.004957, allocations: 23.75 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.005388, allocations: 120.6 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.005775, allocations: 253.9 kB / 0.5256 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.006113, allocations: 213.6 kB / 0.5258 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.00665, allocations: 0.6322 MB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.006923, allocations: 230.6 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.00728, allocations: 336.5 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.007545, allocations: 224.1 kB / 0.5272 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.007582, allocations: 33.78 kB / 0.5272 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.007723, allocations: 95.78 kB / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.00781, allocations: 119.6 kB / 0.5274 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.007902, allocations: 139.6 kB / 0.5275 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.008218, allocations: 366.6 kB / 0.5279 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00822, allocations: 2.062 kB / 0.5279 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.008221, allocations: 0 / 0.5279 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.008228, allocations: 0 / 0.5279 GB, free: 10.59 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006861/0.008915, allocations: 0.7384 MB / 0.5286 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.008955, allocations: 9 kB / 0.5286 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.009371, allocations: 148.3 kB / 0.5287 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.00972, allocations: 353.3 kB / 0.5291 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.009739, allocations: 25.02 kB / 0.5291 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.009777, allocations: 32.38 kB / 0.5291 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.01015, allocations: 0.5246 MB / 0.5297 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01017, allocations: 6.375 kB / 0.5297 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01019, allocations: 15.98 kB / 0.5297 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.01023, allocations: 44.62 kB / 0.5297 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.01039, allocations: 158.8 kB / 0.5299 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.01197, allocations: 3.466 MB / 0.5333 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.01222, allocations: 175.1 kB / 0.5334 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.01229, allocations: 59.64 kB / 0.5335 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01231, allocations: 4 kB / 0.5335 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.01233, allocations: 48.08 kB / 0.5335 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.01233, allocations: 0 / 0.5335 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.000649/0.01298, allocations: 405.6 kB / 0.5339 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.013, allocations: 55.64 kB / 0.534 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.01317, allocations: 371.8 kB / 0.5343 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.01319, allocations: 29.7 kB / 0.5344 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.01331, allocations: 310.7 kB / 0.5346 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.01336, allocations: 99.14 kB / 0.5347 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.01343, allocations: 81.22 kB / 0.5348 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01354, allocations: 0.5234 MB / 0.5353 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.0136, allocations: 52.95 kB / 0.5354 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.01373, allocations: 255.8 kB / 0.5356 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.01395, allocations: 353.6 kB / 0.536 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01395, allocations: 4.938 kB / 0.536 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003497/0.0143, allocations: 379.5 kB / 0.5363 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01431, allocations: 8 kB / 0.5363 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01432, allocations: 7.625 kB / 0.5363 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.01445, allocations: 71 kB / 0.5364 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.0146, allocations: 71.84 kB / 0.5365 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01461, allocations: 8 kB / 0.5365 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.01471, allocations: 19.98 kB / 0.5365 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01472, allocations: 16 kB / 0.5365 GB, free: 1.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/0.01482, allocations: 187.7 kB / 0.5367 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.01486, allocations: 47.77 kB / 0.5367 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01514, allocations: 260.7 kB / 0.537 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.01515, allocations: 7.938 kB / 0.537 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01515, allocations: 0 / 0.537 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01516, allocations: 0 / 0.537 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.01567, allocations: 0.6008 MB / 0.5376 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01568, allocations: 4 kB / 0.5376 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.01577, allocations: 44.42 kB / 0.5376 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.01587, allocations: 64.47 kB / 0.5377 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01588, allocations: 4 kB / 0.5377 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01588, allocations: 4 kB / 0.5377 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01589, allocations: 0.5625 kB / 0.5377 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.01617, allocations: 430.5 kB / 0.5381 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.01623, allocations: 60.61 kB / 0.5382 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01625, allocations: 4 kB / 0.5382 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.01633, allocations: 8 kB / 0.5382 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.01637, allocations: 24.48 kB / 0.5382 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.01638, allocations: 8.812 kB / 0.5382 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.496e-05/0.01648, allocations: 235 kB / 0.5384 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.01648, allocations: 1.531 kB / 0.5384 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002259/0.0167, allocations: 84 kB / 0.5385 GB, free: 14.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.01685, allocations: 105.3 kB / 0.5386 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.01711, allocations: 231.7 kB / 0.5388 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01711, allocations: 0 / 0.5388 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01722, allocations: 134.2 kB / 0.539 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.0176, allocations: 133 kB / 0.5391 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.01834, allocations: 0.6685 MB / 0.5398 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.0184, allocations: 117.6 kB / 0.5399 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.01851, allocations: 49.98 kB / 0.5399 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.01867, allocations: 162.1 kB / 0.5401 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.01867, allocations: 0 / 0.5401 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.006585/0.02525, allocations: 5.185 MB / 0.5451 GB, free: 8.406 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.428494438994676]