Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 107.5 kB / 18.71 MB, free: 3.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 192.4 kB / 21.96 MB, free: 60 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 250.7 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 175.7 MB / 481.6 MB, free: 7.883 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.83 kB / 0.67 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6659, allocations: 94.52 MB / 0.7623 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005696/0.6716, allocations: 3.68 MB / 0.7659 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.6749, allocations: 1.944 MB / 0.7678 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.675, allocations: 9.188 kB / 0.7678 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008588/0.6759, allocations: 248 kB / 0.768 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.6765, allocations: 224.2 kB / 0.7683 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.6773, allocations: 261.2 kB / 0.7685 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.6777, allocations: 386.8 kB / 0.7689 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.6781, allocations: 152.8 kB / 0.769 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.6783, allocations: 160.1 kB / 0.7692 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.6787, allocations: 191.3 kB / 0.7694 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.6787, allocations: 27.09 kB / 0.7694 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.6793, allocations: 299.8 kB / 0.7697 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6794, allocations: 94.14 kB / 0.7698 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.6795, allocations: 147 kB / 0.7699 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.6802, allocations: 490.2 kB / 0.7704 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6802, allocations: 1.844 kB / 0.7704 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6802, allocations: 0 / 0.7704 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.6802, allocations: 0.6562 kB / 0.7704 GB, free: 5.668 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00122/0.6814, allocations: 0.6546 MB / 0.771 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6814, allocations: 8.906 kB / 0.771 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009877/0.6824, allocations: 119.6 kB / 0.7711 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.6828, allocations: 291.6 kB / 0.7714 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.6828, allocations: 12.75 kB / 0.7714 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/0.6829, allocations: 23.03 kB / 0.7714 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.6837, allocations: 427.3 kB / 0.7718 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6837, allocations: 0 / 0.7718 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.6838, allocations: 11.84 kB / 0.7719 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.6838, allocations: 25.75 kB / 0.7719 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.6848, allocations: 406.1 kB / 0.7723 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.6866, allocations: 1.625 MB / 0.7739 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.688, allocations: 457.8 kB / 0.7743 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.6884, allocations: 181.5 kB / 0.7745 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.6886, allocations: 95.28 kB / 0.7746 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006354/0.6892, allocations: 276.3 kB / 0.7748 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.6892, allocations: 0 / 0.7748 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.002079/0.6913, allocations: 0.7658 MB / 0.7756 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.6913, allocations: 87.11 kB / 0.7757 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.6916, allocations: 221.8 kB / 0.7759 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.6916, allocations: 30.92 kB / 0.7759 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.6917, allocations: 169.4 kB / 0.7761 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.6917, allocations: 98.33 kB / 0.7761 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6919, allocations: 72.28 kB / 0.7762 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.6919, allocations: 335.6 kB / 0.7765 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.6924, allocations: 180.5 kB / 0.7767 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.6928, allocations: 256.3 kB / 0.777 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.6937, allocations: 465.8 kB / 0.7774 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6937, allocations: 0 / 0.7774 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001169/0.6949, allocations: 0.552 MB / 0.7779 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.6949, allocations: 34.5 kB / 0.778 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6949, allocations: 2.406 kB / 0.778 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.6952, allocations: 43.36 kB / 0.778 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.6956, allocations: 87.14 kB / 0.7781 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.697, allocations: 1.607 MB / 0.7797 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.6974, allocations: 59.52 kB / 0.7797 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.6974, allocations: 10.61 kB / 0.7797 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005769/0.698, allocations: 288 kB / 0.78 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005218/0.6985, allocations: 241.5 kB / 0.7802 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008992/0.6994, allocations: 451.6 kB / 0.7807 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.6994, allocations: 4 kB / 0.7807 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001192/0.7006, allocations: 0.5185 MB / 0.7812 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.7007, allocations: 43.62 kB / 0.7812 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7007, allocations: 4.641 kB / 0.7812 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.7008, allocations: 44.52 kB / 0.7813 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.7012, allocations: 83.22 kB / 0.7813 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.7028, allocations: 1.603 MB / 0.7829 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.7031, allocations: 55.8 kB / 0.783 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.7031, allocations: 16.41 kB / 0.783 GB, free: 12.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.7034, allocations: 202.6 kB / 0.7832 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.7034, allocations: 24.89 kB / 0.7832 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.7046, allocations: 484.1 kB / 0.7837 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7046, allocations: 9.266 kB / 0.7837 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7046, allocations: 0 / 0.7837 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.7048, allocations: 134 kB / 0.7838 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.7048, allocations: 7.688 kB / 0.7838 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.7051, allocations: 43.28 kB / 0.7838 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.7053, allocations: 27.31 kB / 0.7839 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00124/0.7065, allocations: 0.6158 MB / 0.7845 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001428/0.7079, allocations: 0.8408 MB / 0.7853 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004148/0.7083, allocations: 175.4 kB / 0.7855 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002403/0.7086, allocations: 179.6 kB / 0.7856 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of Backend: time 3.6e-07/0.7086, allocations: 0 / 0.7856 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.7112, allocations: 1.025 MB / 0.7866 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of SimCode: time 0.00134/0.7126, allocations: 0.979 MB / 0.7876 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.01851/0.7311, allocations: 8.064 MB / 0.7955 GB, free: 8.422 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.348251175018959] Failed to read output from testmodel.py, exit status != 0: 0.7402944540372118 0.754843489 0.071475089 Calling exit ...