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.00102/0.00102, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002509, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001067/0.001067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002563, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9993/0.9993, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09526/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7669/0.7669, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2797/1.047, allocations: 49.13 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.583e-06/1.583e-06, allocations: 0 / 449.9 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.335e-05, allocations: 4.562 kB / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003264/0.003288, allocations: 3.163 MB / 453.1 MB, free: 1.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.00477, allocations: 1.175 MB / 454.3 MB, free: 340 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.004904, allocations: 19.81 kB / 454.3 MB, free: 320 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.005268, allocations: 143.9 kB / 454.4 MB, free: 176 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.005565, allocations: 262.5 kB / 454.7 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.005817, allocations: 202.2 kB / 454.9 MB, free: 15.72 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.006288, allocations: 0.6478 MB / 455.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.006575, allocations: 237.2 kB / 455.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.006926, allocations: 371.6 kB / 456.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.007179, allocations: 221 kB / 456.4 MB, free: 14.26 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.007212, allocations: 28 kB / 456.4 MB, free: 14.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.007354, allocations: 95.8 kB / 456.5 MB, free: 14.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.007437, allocations: 108.4 kB / 456.6 MB, free: 14.04 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.007531, allocations: 115.7 kB / 456.7 MB, free: 13.92 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006024/0.008134, allocations: 335.6 kB / 457 MB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.008146, allocations: 0 / 457 MB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008147, allocations: 0.5938 kB / 457 MB, free: 13.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.008158, allocations: 3.938 kB / 457 MB, free: 13.59 MB / 442.7 MB 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.0008963/0.009055, allocations: 0.706 MB / 457.7 MB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.009088, allocations: 9.469 kB / 457.7 MB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.009543, allocations: 217.7 kB / 458 MB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.009887, allocations: 336.6 kB / 458.3 MB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.009903, allocations: 21.03 kB / 458.3 MB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.009941, allocations: 32.33 kB / 458.3 MB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.01042, allocations: 494.7 kB / 458.8 MB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.01044, allocations: 0 / 458.8 MB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.01048, allocations: 17.27 kB / 458.8 MB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.01054, allocations: 36.62 kB / 458.9 MB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.01076, allocations: 151.5 kB / 459 MB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01225, allocations: 2.362 MB / 461.4 MB, free: 9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.01252, allocations: 200.5 kB / 461.6 MB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.01258, allocations: 48.84 kB / 461.6 MB, free: 8.746 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.01259, allocations: 4.906 kB / 461.6 MB, free: 8.742 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01261, allocations: 34.5 kB / 461.7 MB, free: 8.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.01262, allocations: 3.938 kB / 461.7 MB, free: 8.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006407/0.01326, allocations: 377.2 kB / 462 MB, free: 8.312 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.01328, allocations: 55.64 kB / 462.1 MB, free: 8.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.01345, allocations: 315.7 kB / 462.4 MB, free: 7.926 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01347, allocations: 35.08 kB / 462.4 MB, free: 7.887 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.01356, allocations: 232.6 kB / 462.7 MB, free: 7.656 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.01361, allocations: 95.16 kB / 462.8 MB, free: 7.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.01368, allocations: 70.12 kB / 462.8 MB, free: 7.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01379, allocations: 355.7 kB / 463.2 MB, free: 7.133 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.01384, allocations: 40.98 kB / 463.2 MB, free: 7.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01395, allocations: 192 kB / 463.4 MB, free: 6.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01416, allocations: 293.6 kB / 463.7 MB, free: 6.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01416, allocations: 0 / 463.7 MB, free: 6.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005723/0.01473, allocations: 325.6 kB / 464 MB, free: 6.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01474, allocations: 8.531 kB / 464 MB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01475, allocations: 6 kB / 464 MB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.01489, allocations: 67.02 kB / 464.1 MB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.01506, allocations: 91.83 kB / 464.2 MB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01507, allocations: 4 kB / 464.2 MB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.01517, allocations: 16.58 kB / 464.2 MB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.01518, allocations: 17.75 kB / 464.2 MB, free: 5.953 MB / 442.7 MB 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 8.396e-05/0.01527, allocations: 140.5 kB / 464.3 MB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.0153, allocations: 37.56 kB / 464.4 MB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.01556, allocations: 224.7 kB / 464.6 MB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01556, allocations: 0 / 464.6 MB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.01557, allocations: 11.94 kB / 464.6 MB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01557, allocations: 6.812 kB / 464.6 MB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.01602, allocations: 0.5232 MB / 465.1 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01602, allocations: 0 / 465.1 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.01613, allocations: 44.45 kB / 465.2 MB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.01618, allocations: 44.62 kB / 465.2 MB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.01628, allocations: 63.66 kB / 465.3 MB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01629, allocations: 8 kB / 465.3 MB, free: 4.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.0163, allocations: 1.469 kB / 465.3 MB, free: 4.777 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0163, allocations: 4 kB / 465.3 MB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.01655, allocations: 371.5 kB / 465.7 MB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01658, allocations: 13.34 kB / 465.7 MB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.01666, allocations: 8 kB / 465.7 MB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.0167, allocations: 23.95 kB / 465.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01671, allocations: 4 kB / 465.7 MB, free: 4.324 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.99e-05/0.01678, allocations: 125.7 kB / 465.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01678, allocations: 0 / 465.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.01698, allocations: 86.06 kB / 465.9 MB, free: 4.121 MB / 442.7 MB 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 8.183e-05/0.01706, allocations: 92.28 kB / 466 MB, free: 4.023 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.0173, allocations: 210.6 kB / 466.2 MB, free: 3.812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.01732, allocations: 15.98 kB / 466.2 MB, free: 3.797 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01744, allocations: 131.1 kB / 466.4 MB, free: 3.664 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.01804, allocations: 1.137 MB / 467.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.01966, allocations: 0.694 MB / 468.2 MB, free: 1.582 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.01972, allocations: 121.6 kB / 468.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.01982, allocations: 39.34 kB / 468.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.01999, allocations: 142.5 kB / 468.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01999, allocations: 0 / 468.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of Templates: time 0.006716/0.0267, allocations: 5.175 MB / 473.7 MB, free: 12.5 MB / 458.7 MB " [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.6689991895109415]