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.001395/0.001395, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.001508/0.001508, allocations: 195 kB / 17.98 MB, free: 5.148 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 76.15 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004902/0.3712, allocations: 3.735 MB / 0.5612 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3737, allocations: 1.796 MB / 0.563 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3739, allocations: 18.22 kB / 0.563 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008277/0.3748, allocations: 266.5 kB / 0.5633 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.3753, allocations: 288.9 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.3759, allocations: 255.9 kB / 0.5638 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.3765, allocations: 0.6015 MB / 0.5644 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.3769, allocations: 258.4 kB / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.3773, allocations: 232.5 kB / 0.5648 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.3776, allocations: 234.8 kB / 0.5651 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.3776, allocations: 25.62 kB / 0.5651 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.3781, allocations: 275.8 kB / 0.5653 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3783, allocations: 125.5 kB / 0.5655 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.3785, allocations: 211.1 kB / 0.5657 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007719/0.3793, allocations: 0.591 MB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3793, allocations: 1.125 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3793, allocations: 0 / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3793, allocations: 0 / 0.5662 GB, free: 31.36 MB / 446.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.001084/0.3804, allocations: 0.7336 MB / 0.567 GB, free: 30.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3804, allocations: 9.375 kB / 0.567 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.3813, allocations: 134.1 kB / 0.5671 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.3819, allocations: 407.7 kB / 0.5675 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.382, allocations: 26.73 kB / 0.5675 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.382, allocations: 28.69 kB / 0.5675 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.3828, allocations: 0.5591 MB / 0.5681 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3828, allocations: 5.734 kB / 0.5681 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.3829, allocations: 16.75 kB / 0.5681 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.3829, allocations: 41.42 kB / 0.5681 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006628/0.3836, allocations: 406.8 kB / 0.5685 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.3859, allocations: 3.322 MB / 0.5718 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.3865, allocations: 339.2 kB / 0.5721 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.3868, allocations: 182.6 kB / 0.5723 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3869, allocations: 3.938 kB / 0.5723 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3869, allocations: 36.59 kB / 0.5723 GB, free: 26.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.3869, allocations: 5.281 kB / 0.5723 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001887/0.3888, allocations: 1.06 MB / 0.5733 GB, free: 26.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3888, allocations: 56.05 kB / 0.5734 GB, free: 26.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.3892, allocations: 343.1 kB / 0.5737 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3892, allocations: 26.89 kB / 0.5738 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3893, allocations: 250.3 kB / 0.574 GB, free: 25.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.3894, allocations: 99.09 kB / 0.5741 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3895, allocations: 75.53 kB / 0.5742 GB, free: 25.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.3896, allocations: 347.5 kB / 0.5745 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.3899, allocations: 147.9 kB / 0.5746 GB, free: 25.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.3902, allocations: 294.8 kB / 0.5749 GB, free: 24.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.3908, allocations: 479.3 kB / 0.5754 GB, free: 24.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3908, allocations: 2.5 kB / 0.5754 GB, free: 24.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008772/0.3916, allocations: 0.5676 MB / 0.5759 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3917, allocations: 6.875 kB / 0.5759 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3917, allocations: 5.5 kB / 0.5759 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.392, allocations: 85.84 kB / 0.576 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3923, allocations: 92.02 kB / 0.5761 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3923, allocations: 7.859 kB / 0.5761 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.3926, allocations: 32.73 kB / 0.5761 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.3927, allocations: 18.28 kB / 0.5762 GB, free: 24.32 MB / 446.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.0001657/0.3928, allocations: 179.6 kB / 0.5763 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3929, allocations: 38.97 kB / 0.5764 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.3937, allocations: 467.6 kB / 0.5768 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3937, allocations: 2.844 kB / 0.5768 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3937, allocations: 1.219 kB / 0.5768 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3938, allocations: 1.219 kB / 0.5768 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.3951, allocations: 0.9662 MB / 0.5778 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3951, allocations: 0.5625 kB / 0.5778 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.3953, allocations: 55.72 kB / 0.5778 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.3956, allocations: 78.64 kB / 0.5779 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3956, allocations: 7.188 kB / 0.5779 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3956, allocations: 5.5 kB / 0.5779 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3956, allocations: 2.203 kB / 0.5779 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.3963, allocations: 0.5469 MB / 0.5784 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.3965, allocations: 137.9 kB / 0.5786 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.3966, allocations: 11.02 kB / 0.5786 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3968, allocations: 21.42 kB / 0.5786 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3969, allocations: 28 kB / 0.5786 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3969, allocations: 5.391 kB / 0.5786 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.3971, allocations: 234.9 kB / 0.5789 GB, free: 22.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3971, allocations: 0 / 0.5789 GB, free: 22.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.3975, allocations: 93.12 kB / 0.579 GB, free: 22.72 MB / 446.1 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 0.0001087/0.3976, allocations: 106.2 kB / 0.5791 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.3984, allocations: 0.6337 MB / 0.5797 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3984, allocations: 0 / 0.5797 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.3988, allocations: 436.4 kB / 0.5801 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.3995, allocations: 127.4 kB / 0.5802 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4005, allocations: 0.7135 MB / 0.5809 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.4008, allocations: 0.8233 MB / 0.5817 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.401, allocations: 88.98 kB / 0.5818 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.4011, allocations: 29.16 kB / 0.5818 GB, free: 20.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4011, allocations: 0 / 0.5818 GB, free: 20.65 MB / 446.1 MB Notification: Performance of Templates: time 0.008908/0.41, allocations: 4.686 MB / 0.5864 GB, free: 19.37 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)