Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 120.2 kB / 17.09 MB, free: 6.012 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.0011/0.001101, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.244/1.244, 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/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.94 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004666/0.1255, allocations: 3.73 MB / 0.6364 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1282, allocations: 1.793 MB / 0.6381 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1284, allocations: 19.88 kB / 0.6381 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.1293, allocations: 268.9 kB / 0.6384 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000638/0.1299, allocations: 310.4 kB / 0.6387 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.1305, allocations: 247.5 kB / 0.6389 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.1311, allocations: 0.6088 MB / 0.6395 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.1316, allocations: 251.1 kB / 0.6398 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.1319, allocations: 251.1 kB / 0.64 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1322, allocations: 231 kB / 0.6402 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.1322, allocations: 28 kB / 0.6402 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.1326, allocations: 263.4 kB / 0.6405 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1328, allocations: 127.6 kB / 0.6406 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.133, allocations: 214.8 kB / 0.6408 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.1335, allocations: 0.5878 MB / 0.6414 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1336, allocations: 4 kB / 0.6414 GB, free: 11.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1336, allocations: 0 / 0.6414 GB, free: 11.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1336, allocations: 0 / 0.6414 GB, free: 11.45 MB / 494.1 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.001042/0.1346, allocations: 0.7361 MB / 0.6421 GB, free: 10.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1347, allocations: 8.031 kB / 0.6421 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/0.1355, allocations: 132.2 kB / 0.6423 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.136, allocations: 407.6 kB / 0.6426 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.136, allocations: 21.03 kB / 0.6427 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.1361, allocations: 32.36 kB / 0.6427 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1369, allocations: 0.5588 MB / 0.6432 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1369, allocations: 11.92 kB / 0.6433 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.1369, allocations: 12 kB / 0.6433 GB, free: 9.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.137, allocations: 40.53 kB / 0.6433 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.1377, allocations: 413.7 kB / 0.6437 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.1402, allocations: 3.33 MB / 0.6469 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.1408, allocations: 344.8 kB / 0.6473 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.1412, allocations: 176.8 kB / 0.6474 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1412, allocations: 4 kB / 0.6475 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1412, allocations: 34.56 kB / 0.6475 GB, free: 4.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.1412, allocations: 0 / 0.6475 GB, free: 4.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.001993/0.1432, allocations: 1.062 MB / 0.6485 GB, free: 3.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1433, allocations: 55.64 kB / 0.6486 GB, free: 3.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1436, allocations: 345.6 kB / 0.6489 GB, free: 3.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1436, allocations: 29.7 kB / 0.6489 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1438, allocations: 247.4 kB / 0.6492 GB, free: 2.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.1439, allocations: 94.73 kB / 0.6493 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.144, allocations: 73.95 kB / 0.6493 GB, free: 2.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1441, allocations: 346.8 kB / 0.6497 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1444, allocations: 152.8 kB / 0.6498 GB, free: 2.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.1447, allocations: 295.4 kB / 0.6501 GB, free: 1.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.1454, allocations: 476.7 kB / 0.6505 GB, free: 1.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1454, allocations: 0 / 0.6505 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009139/0.1463, allocations: 0.57 MB / 0.6511 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1463, allocations: 4 kB / 0.6511 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1463, allocations: 8 kB / 0.6511 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.1466, allocations: 82.5 kB / 0.6512 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.147, allocations: 95.81 kB / 0.6513 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.147, allocations: 8.203 kB / 0.6513 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1472, allocations: 35.91 kB / 0.6513 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1473, allocations: 16 kB / 0.6513 GB, free: 0.5742 MB / 494.1 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 0.0001884/0.1475, allocations: 177.6 kB / 0.6515 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.1475, allocations: 39.53 kB / 0.6515 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/0.1483, allocations: 460.1 kB / 0.652 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1484, allocations: 7.984 kB / 0.652 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1484, allocations: 4 kB / 0.652 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1484, allocations: 0 / 0.652 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1497, allocations: 0.9629 MB / 0.6529 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1497, allocations: 11.94 kB / 0.6529 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.1499, allocations: 47.91 kB / 0.653 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.1502, allocations: 82.5 kB / 0.6531 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1502, allocations: 4 kB / 0.6531 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1502, allocations: 8.031 kB / 0.6531 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1502, allocations: 4 kB / 0.6531 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.151, allocations: 0.5467 MB / 0.6536 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1511, allocations: 132.6 kB / 0.6537 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.1512, allocations: 8 kB / 0.6538 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1514, allocations: 19.97 kB / 0.6538 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.1515, allocations: 27.91 kB / 0.6538 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1515, allocations: 11.94 kB / 0.6538 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002006/0.1517, allocations: 235.2 kB / 0.654 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1517, allocations: 0 / 0.654 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003721/0.1521, allocations: 88 kB / 0.6541 GB, free: 13.57 MB / 0.4981 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.0001192/0.1522, allocations: 115.1 kB / 0.6542 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008179/0.153, allocations: 0.636 MB / 0.6548 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.153, allocations: 0 / 0.6548 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.1535, allocations: 433.7 kB / 0.6553 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.1541, allocations: 129 kB / 0.6554 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1552, allocations: 0.7598 MB / 0.6561 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1556, allocations: 0.8273 MB / 0.6569 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.1557, allocations: 31.44 kB / 0.657 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1557, allocations: 0 / 0.657 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.01046/0.1661, allocations: 9.474 MB / 0.6662 GB, free: 1.008 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)