Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 116.9 kB / 16.42 MB, free: 6.023 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.001208/0.001208, allocations: 182.7 kB / 17.35 MB, free: 5.629 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 282.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 99.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4783, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003709/0.482, allocations: 2.413 MB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.4842, allocations: 1.418 MB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.4843, allocations: 4 kB / 0.7708 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006726/0.485, allocations: 175.3 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.4853, allocations: 127.4 kB / 0.7711 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.4857, allocations: 191.4 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.486, allocations: 215.3 kB / 0.7715 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.4863, allocations: 132.7 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.4864, allocations: 79.7 kB / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.4867, allocations: 107.6 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.4867, allocations: 12 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.487, allocations: 183.6 kB / 0.772 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.4871, allocations: 59.81 kB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.4872, allocations: 87.58 kB / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.4875, allocations: 277.7 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4875, allocations: 3.984 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4875, allocations: 0 / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4876, allocations: 0 / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000671/0.4882, allocations: 471.2 kB / 0.7728 GB, free: 13.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4883, allocations: 8.031 kB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005272/0.4888, allocations: 64.67 kB / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4891, allocations: 234.8 kB / 0.7731 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4891, allocations: 12.66 kB / 0.7731 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.4892, allocations: 12.38 kB / 0.7731 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.4896, allocations: 283.6 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4896, allocations: 7.938 kB / 0.7734 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.4896, allocations: 4 kB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.4897, allocations: 20.22 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.49, allocations: 208.5 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.4916, allocations: 1.58 MB / 0.7752 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.492, allocations: 311.3 kB / 0.7755 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.4921, allocations: 65.67 kB / 0.7755 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4921, allocations: 3.938 kB / 0.7756 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4922, allocations: 42.56 kB / 0.7756 GB, free: 10.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.4922, allocations: 0 / 0.7756 GB, free: 10.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005285/0.4927, allocations: 240.7 kB / 0.7758 GB, free: 10.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4927, allocations: 81.11 kB / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4929, allocations: 196 kB / 0.7761 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.493, allocations: 29.64 kB / 0.7761 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4931, allocations: 159.6 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4931, allocations: 39.64 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.4932, allocations: 49.7 kB / 0.7764 GB, free: 9.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4933, allocations: 318.8 kB / 0.7767 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4935, allocations: 72.81 kB / 0.7767 GB, free: 9.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.4936, allocations: 161.5 kB / 0.7769 GB, free: 9.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.4939, allocations: 226.9 kB / 0.7771 GB, free: 9.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4939, allocations: 3.938 kB / 0.7771 GB, free: 9.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003681/0.4943, allocations: 257.2 kB / 0.7773 GB, free: 8.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4943, allocations: 11.98 kB / 0.7774 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4943, allocations: 4 kB / 0.7774 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4944, allocations: 4 kB / 0.7774 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.4946, allocations: 52.22 kB / 0.7774 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4946, allocations: 8 kB / 0.7774 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.4948, allocations: 19.92 kB / 0.7774 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4948, allocations: 8 kB / 0.7774 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001611/0.495, allocations: 168 kB / 0.7776 GB, free: 8.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001419/0.4951, allocations: 151.2 kB / 0.7778 GB, free: 8.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002375/0.4953, allocations: 219.8 kB / 0.778 GB, free: 8.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.4954, allocations: 4 kB / 0.778 GB, free: 8.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003291/0.4957, allocations: 237.1 kB / 0.7782 GB, free: 7.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.4957, allocations: 8 kB / 0.7782 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4957, allocations: 4.125 kB / 0.7782 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-06/0.4957, allocations: 8 kB / 0.7782 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.4959, allocations: 48.31 kB / 0.7783 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4959, allocations: 11.94 kB / 0.7783 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4961, allocations: 15.98 kB / 0.7783 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4961, allocations: 8 kB / 0.7783 GB, free: 7.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.4962, allocations: 192.2 kB / 0.7785 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.4962, allocations: 15.81 kB / 0.7785 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.4965, allocations: 151 kB / 0.7786 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4965, allocations: 3.938 kB / 0.7786 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4965, allocations: 3.938 kB / 0.7786 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.4966, allocations: 108.8 kB / 0.7787 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.4966, allocations: 4 kB / 0.7788 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.4968, allocations: 11.97 kB / 0.7788 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.4969, allocations: 15.92 kB / 0.7788 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002794/0.4972, allocations: 288.7 kB / 0.7791 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003146/0.4975, allocations: 397.8 kB / 0.7794 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.982e-05/0.4976, allocations: 56.03 kB / 0.7795 GB, free: 6.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001288/0.4977, allocations: 153.1 kB / 0.7796 GB, free: 6.391 MB / 0.545 GB Notification: Performance of Backend: time 3.2e-07/0.4977, allocations: 3.938 kB / 0.7796 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009213/0.4986, allocations: 389.8 kB / 0.78 GB, free: 6 MB / 0.545 GB Notification: Performance of SimCode: time 0.000804/0.4994, allocations: 0.7634 MB / 0.7808 GB, free: 5.191 MB / 0.545 GB Notification: Performance of Templates: time 0.006657/0.5061, allocations: 3.399 MB / 0.7841 GB, free: 1.812 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)