Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0074/0.0074, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.36/1.36, allocations: 222.9 MB / 239.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 192.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5082/0.5082, allocations: 91.9 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 81.09 kB / 0.5722 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 71.28 MB / 0.6419 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.005942/0.1301, allocations: 6.14 MB / 0.6479 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.1335, allocations: 1.778 MB / 0.6496 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.1341, allocations: 12 kB / 0.6496 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.1347, allocations: 242 kB / 0.6498 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.136, allocations: 0.6007 MB / 0.6504 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.1376, allocations: 0.7533 MB / 0.6512 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.1391, allocations: 1.38 MB / 0.6525 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.1395, allocations: 294.2 kB / 0.6528 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.1401, allocations: 0.5562 MB / 0.6533 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.1408, allocations: 0.7079 MB / 0.654 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.141, allocations: 104 kB / 0.6541 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.1414, allocations: 215.9 kB / 0.6543 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.1416, allocations: 282.8 kB / 0.6546 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.1421, allocations: 0.5981 MB / 0.6552 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1434, allocations: 1.461 MB / 0.6566 GB, free: 4.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1434, allocations: 3.938 kB / 0.6566 GB, free: 4.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1434, allocations: 0 / 0.6566 GB, free: 4.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.1434, allocations: 0 / 0.6566 GB, free: 4.938 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007909/0.1514, allocations: 2.52 MB / 0.6591 GB, free: 2.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1514, allocations: 12.03 kB / 0.6591 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.1516, allocations: 122.5 kB / 0.6592 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/0.1556, allocations: 0.6735 MB / 0.6599 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1567, allocations: 0.744 MB / 0.6606 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.157, allocations: 345.2 kB / 0.6609 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1572, allocations: 71.94 kB / 0.661 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.1593, allocations: 1.129 MB / 0.6621 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1594, allocations: 0 / 0.6621 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/0.1595, allocations: 28 kB / 0.6621 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.1595, allocations: 16 kB / 0.6621 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.1617, allocations: 1.085 MB / 0.6632 GB, free: 14.01 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.1673, allocations: 3.344 MB / 0.6664 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006573/0.1739, allocations: 2.291 MB / 0.6687 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.1754, allocations: 0.7469 MB / 0.6694 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1756, allocations: 20.97 kB / 0.6694 GB, free: 7.355 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1756, allocations: 47.5 kB / 0.6695 GB, free: 7.297 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.1756, allocations: 0 / 0.6695 GB, free: 7.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02497/0.2006, allocations: 7.018 MB / 0.6763 GB, free: 228 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2007, allocations: 86.11 kB / 0.6764 GB, free: 124 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.2018, allocations: 0.8449 MB / 0.6772 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.202, allocations: 37.7 kB / 0.6773 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.2023, allocations: 468.4 kB / 0.6777 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.2026, allocations: 311.5 kB / 0.678 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.203, allocations: 158.6 kB / 0.6782 GB, free: 14.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2031, allocations: 341.9 kB / 0.6785 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.2045, allocations: 0.6577 MB / 0.6791 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.206, allocations: 0.7846 MB / 0.6799 GB, free: 12.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/0.2089, allocations: 1.469 MB / 0.6813 GB, free: 10.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2089, allocations: 0 / 0.6813 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01311/0.222, allocations: 4.259 MB / 0.6855 GB, free: 6.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2221, allocations: 12.03 kB / 0.6855 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2221, allocations: 4 kB / 0.6855 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006686/0.2288, allocations: 2.15 MB / 0.6876 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.2295, allocations: 135.8 kB / 0.6877 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0243/0.2538, allocations: 10.06 MB / 0.6976 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.2555, allocations: 163 kB / 0.6977 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.2558, allocations: 39.98 kB / 0.6978 GB, free: 9.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0006873/0.2565, allocations: 229.6 kB / 0.698 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.2571, allocations: 106.7 kB / 0.6981 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.2699, allocations: 4.158 MB / 0.7021 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.27, allocations: 15.98 kB / 0.7022 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.27, allocations: 0 / 0.7022 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.27, allocations: 3.984 kB / 0.7022 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.2849, allocations: 5.755 MB / 0.7078 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.285, allocations: 0 / 0.7078 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.2854, allocations: 87.89 kB / 0.7079 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00636/0.2918, allocations: 2.047 MB / 0.7099 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.2919, allocations: 16 kB / 0.7099 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/0.3125, allocations: 8.924 MB / 0.7186 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.3126, allocations: 7.938 kB / 0.7186 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.3272, allocations: 5.179 MB / 0.7237 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.3276, allocations: 199.5 kB / 0.7239 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.3277, allocations: 19.94 kB / 0.7239 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009743/0.3287, allocations: 107.9 kB / 0.724 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007299/0.3294, allocations: 232.7 kB / 0.7242 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.3295, allocations: 24 kB / 0.7242 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006772/0.3302, allocations: 0.575 MB / 0.7248 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3302, allocations: 0 / 0.7248 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001127/0.3313, allocations: 427.5 kB / 0.7252 GB, free: 13.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01479/0.3461, allocations: 5.757 MB / 0.7308 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006839/0.353, allocations: 2.52 MB / 0.7333 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3531, allocations: 0 / 0.7333 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005058/0.3581, allocations: 1.748 MB / 0.735 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.359, allocations: 100.9 kB / 0.7351 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/0.3953, allocations: 15.1 MB / 0.7498 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.3961, allocations: 1.057 MB / 0.7509 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.3965, allocations: 82.3 kB / 0.7509 GB, free: 2.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.397, allocations: 407.3 kB / 0.7513 GB, free: 2.355 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.397, allocations: 0 / 0.7513 GB, free: 2.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3297/0.7267, allocations: 35.71 MB / 0.7862 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.47, allocations: 9.828 kB / 0.7862 GB, free: 116.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)